package studychinese.model;

import java.util.List;

/**
 * Created by Msi on 2018/1/9.
 */

public class StutyBean
{

    /**
     * state : 0
     * nowtime : 1515501963
     * message : 获取学习时间列表成功
     * data : [{"id":"1","name":"15分钟"},{"id":"2","name":"30分钟"},{"id":"3","name":"1小时"},{"id":"4","name":"1.5小时"},{"id":"5","name":"2小时"},{"id":"6","name":"2.5小时"},{"id":"7","name":"3小时"}]
     */

    private String state;
    private String nowtime;
    private String message;
    private List<DataBean> data;

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getNowtime() {
        return nowtime;
    }

    public void setNowtime(String nowtime) {
        this.nowtime = nowtime;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * name : 15分钟
         */

        private String id;
        private String name;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
